<form id="delivery-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

	<div class="row">

		<div class="col-md-12">
			<div class="panel panel-default">
				<div class="panel-body">
					<p><span>买家：</span><strong>{$row.user.nickname}</strong> </p>
					<p><span>收货人：</span><strong>{$row.consignee}</strong> </p>
					<p><span>联系电话：</span><strong>{$row.phone}</strong> </p>
					<p><span>收货地址：</span><strong>{$row.city}-{$row.address}</strong> </p>

					<div style="display: flex;line-height: 34px;padding: 10px 0;">
						<span>物流公司：</span>
						<div style="width: 260px;">
							<div>
								<input data-source="xykeep/delivery.company/index" class="form-control selectpage" name="row[delivery_company_id]" type="text" >
							</div>
						</div>
					</div>

					<div style="display: flex;line-height: 34px; padding: 10px 0;">
						<span>快递单号：</span>
						<div style="width: 260px;">
							<div>
								<input class="form-control" name="row[delivery_no]" type="text" >
							</div>
						</div>
					</div>

				</div>
			</div>
		</div>

		<div class="col-md-12">
			<div class="panel panel-default">
				<div class="panel-heading">商品信息</div>
				<div class="panel-body">
					<table class="table table-bordered">
						<thead>
							<tr>
								<th class="text-center">
									<div class="th-inner">主图</div>
								</th>
								<th class="text-center">
									<div class="th-inner">商品名称</div>
								</th>
								<th class="text-center">
									<div class="th-inner">购买规格</div>
								</th>
								<th class="text-center">
									<div class="th-inner">数量</div>
								</th>
								<th class="text-center">
									<div class="th-inner">单价</div>
								</th>
								<th class="text-center">
									<div class="th-inner">总价</div>
								</th>
							</tr>
						</thead>
						<tbody>
							{volist name="row.item" id="vo"}
							<tr>
								<td class="text-center"><img class="img-sm img-center"
										src="{$vo.goods_image|cdnurl|htmlentities}"></td>
								<td class="text-center">{$vo.goods_title}</td>
								<td class="text-center">{$vo.goods_sku_text}</td>
								<td class="text-center">{$vo.buy_num}</td>
								<td class="text-center">{$vo.goods_price}</td>
								<td class="text-center">{$vo.buy_num * $vo.goods_price}</td>
							</tr>
							{/volist}
						</tbody>

					</table>
				</div>
			</div>
		</div>
	</div>

    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
			<button type="reset" class="btn btn-primary btn-embossed btn-close" onclick="Layer.closeAll();">{:__('Close')}</button>
        </div>
    </div>
</form>